package binaryTree_practise;

public class Test {
    public static void main(String[] args) {
        BinaryTree binaryTree = new BinaryTree();
        String str = "ABD##E##CF##G##";
        BinaryTree.TreeNode root =  binaryTree.createBinaryTree(str);
        binaryTree.preorderTraversal(root);//输出正确

    }
}
